package hfdp.chp06.chp0605;

/**
 * Created by chei on 2016/8/31.
 */
public class LightOnCommand implements Command {

    private Light light;

    public LightOnCommand(Light light) {
        this.light = light;
    }

    @Override
    public void execute() {
        light.on();
    }

}
